package cn.icanci.loopstack.bic.dal.mongo.daointerface;

import cn.icanci.loopstack.bic.dal.mongo.dateobject.EdgeDO;

/**
 * @author icanci
 * @since 1.0 Created in 2023/09/16 09:57
 */
public interface EdgeDAO extends BaseDAO<EdgeDO> {
    /** 文档对应的名字  */
    String        COLLECTION_NAME  = BASE_COLLECTION_NAME + "edge";
    /** 文档对应的Class */
    Class<EdgeDO> COLLECTION_CLASS = EdgeDO.class;

    EdgeDO queryBySystemUuidAndName(String systemUuid, String name);

    EdgeDO queryBySystemUuidAndKey(String systemUuid, String key);

    /** 列 */
    interface EdgeColumn extends BaseColumn {
        String EDGE_NAME   = "edgeName";

        String EDGE_KEY    = "edgeKey";

        String SYSTEM_UUID = "systemUuid";
    }
}
